﻿<customWindow:AnimatedWindow
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:customWindow="clr-namespace:MediaBrowser.CustomWindow"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" x:Name="animatedWindow"
    x:Class="MediaBrowser.CustomWindow.CustomWindowDialog"
    x:ClassModifier="internal"
    Title="CustomWindowDialog" HiddenMaximizeBox="True" HiddenMinimumBox="True"
    WindowStartupLocation="CenterOwner" FontFamily="Calibri" mc:Ignorable="d" 
	Width="350" Height="130">
    <Grid x:Name="grid">
        <Grid.RowDefinitions>
            <RowDefinition Height="*"/>
            <RowDefinition Height="30"/>
        </Grid.RowDefinitions>

        <!--<Grid.Background>
            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                <GradientStop Color="Black" Offset="0"/>
                <GradientStop Color="White" Offset="1"/>
            </LinearGradientBrush>
        </Grid.Background>-->

        <Grid.Background>
            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0" MappingMode="RelativeToBoundingBox">
                <GradientStop Color="#FF12475D" Offset="0.014"/>
                <GradientStop Color="Black" Offset="1"/>
                <GradientStop Color="#FE28799F" Offset="0.512"/>
                <GradientStop Color="#FE174E66" Offset="0.573"/>
                <GradientStop Color="#FE16333F" Offset="0.293"/>
                <GradientStop Color="#FE0F1B20" Offset="0.78"/>
            </LinearGradientBrush>
        </Grid.Background>

        <StackPanel Orientation="Horizontal" Grid.Row="0">
            <Image x:Name="imgMessage" Source="Images/messagebox_info.png" Width="70"  HorizontalAlignment="Left" Stretch="Fill" Height="70"/>
            <ScrollViewer x:Name="scrollViewer" Margin="0,14.787" Width="270">
                <TextBlock x:Name="txMessage" Text="1111111111111111111111111111111"  
    			TextWrapping="Wrap" Foreground="White" VerticalAlignment="Center" FontSize="16"/>
            </ScrollViewer>
        </StackPanel>
        <StackPanel Orientation="Horizontal" Grid.Row="1" HorizontalAlignment="Right" Margin="0,5,15,5">
            <Button x:Name="BtOk" Content="OK" HorizontalAlignment="Right" Width="45" Margin="0,0,5,0" Visibility="Collapsed" Click="BtOk_Click" />
            <Button x:Name="BtCancel" Content="Cancel" Width="49.722" Margin="0,0,5,0" Visibility="Collapsed" Click="BtCancel_Click"/>
            <Button x:Name="BtYes" Content="Yes" Width="33.441" Margin="0,0,5,0" Click="BtYes_Click"/>
            <Button x:Name="BtNo" Content="No" Width="33.591" Margin="0,0,5,0" Click="BtNo_Click"/>
            <Button x:Name="BtCancel2" Content="Cancel" Width="45.465" Click="BtCancel2_Click"/>
        </StackPanel>
    </Grid>
</customWindow:AnimatedWindow>
